
<style>
    /* 栏目通用样式 */
    .secondary-section {
        margin-bottom: 4rem;
        padding: 1.5rem;
        background-color: white;
        border-radius: var(--radius);
        box-shadow: var(--shadow);
    }

    .section-header {
        margin-bottom: 1.75rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

    .section-title i {
        color: var(--primary);
    }

    .section-actions {
        display: flex;
        gap: 0.75rem;
    }

    .view-all {
        font-size: 0.9rem;
        color: var(--primary);
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 0.25rem;
        transition: all 0.2s ease;
    }

    .view-all:hover {
        color: #3B34D1;
        gap: 0.5rem;
    }

    /* 标签云样式 */
    .tags-cloud {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem;
        padding: 1rem 0;
    }

    .tag-item {
        background-color: var(--light-gray);
        color: var(--dark);
        padding: 0.5rem 1rem;
        border-radius: 20px;
        font-size: 0.9rem;
        text-decoration: none;
        transition: all 0.2s ease;
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
    }

    .tag-item:hover {
        background-color: var(--primary);
        color: white;
        transform: translateY(-2px);
    }

    .tag-count {
        background-color: rgba(0, 0, 0, 0.1);
        color: inherit;
        padding: 0 0.4rem;
        border-radius: 10px;
        font-size: 0.75rem;
    }

    .tag-item:hover .tag-count {
        background-color: rgba(255, 255, 255, 0.2);
    }

</style>
<!-- 5. 标签云栏目 - 适合分类导航 -->
<div class="secondary-section">
    <div class="section-header">
        <h2 class="section-title"><i class="fas fa-tags"></i> 热门标签</h2>
        <div class="section-actions">
            <a href="#" class="view-all">所有标签 <i class="fas fa-chevron-right"></i></a>
        </div>
    </div>

    <div class="tags-cloud">
        <a href="#" class="tag-item">
            <i class="fas fa-camera"></i> 摄影
            <span class="tag-count">1.2k</span>
        </a>
        <a href="#" class="tag-item">
            <i class="fas fa-plane"></i> 旅行
            <span class="tag-count">2.5k</span>
        </a>
        <a href="#" class="tag-item">
            <i class="fas fa-utensils"></i> 美食
            <span class="tag-count">3.1k</span>
        </a>
        <a href="#" class="tag-item">
            <i class="fas fa-book"></i> 读书
            <span class="tag-count">980</span>
        </a>
        <a href="#" class="tag-item">
            <i class="fas fa-dumbbell"></i> 健身
            <span class="tag-count">1.7k</span>
        </a>
        <a href="#" class="tag-item">
            <i class="fas fa-laptop-code"></i> 编程
            <span class="tag-count">850</span>
        </a>
        <a href="#" class="tag-item">
            <i class="fas fa-paint-brush"></i> 设计
            <span class="tag-count">1.3k</span>
        </a>
        <a href="#" class="tag-item">
            <i class="fas fa-music"></i> 音乐
            <span class="tag-count">2.1k</span>
        </a>
        <a href="#" class="tag-item">
            <i class="fas fa-film"></i> 电影
            <span class="tag-count">1.8k</span>
        </a>
        <a href="#" class="tag-item">
            <i class="fas fa-gamepad"></i> 游戏
            <span class="tag-count">2.3k</span>
        </a>
        <a href="#" class="tag-item">
            <i class="fas fa-leaf"></i> 环保
            <span class="tag-count">760</span>
        </a>
        <a href="#" class="tag-item">
            <i class="fas fa-briefcase"></i> 职场
            <span class="tag-count">1.5k</span>
        </a>
        <a href="#" class="tag-item">
            <i class="fas fa-paw"></i> 宠物
            <span class="tag-count">2.7k</span>
        </a>
        <a href="#" class="tag-item">
            <i class="fas fa-home"></i> 家居
            <span class="tag-count">920</span>
        </a>
        <a href="#" class="tag-item">
            <i class="fas fa-pencil-alt"></i> 写作
            <span class="tag-count">680</span>
        </a>
    </div>
</div>

